import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import uView from 'uview-ui';

import moment from 'moment'; //引入

import * as utils from './utils'
import md5 from "md5";

Vue.prototype.$utils = utils;


Vue.prototype.$moment = moment; //挂载到原型

moment.locale("zh-CN"); //汉化，否则显示日期格式是国外的日期格式



Vue.use(uView);
Vue.use(plugins)

Vue.config.productionTip = false
Vue.prototype.$store = store

App.mpType = 'app'

const app = new Vue({
	...App
})

app.$mount()